FROM java:8
MAINTAINER leeb

ADD qd-data-1.0.jar /app.jar
RUN bash -c 'touch /app.jar'
EXPOSE 8101
ENTRYPOINT ["java","-jar","/app.jar","--spring.profiles.active=prod"]

#docker run -p 8080:8080 --name cicd-demo -d mccode/cicd-demo:0.0.1
#http://101.43.149.52:8080/
# docker inspect